package appapi.Vo.brider;

import appapi.common.UpdateGroup;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author dhq
 * @version 1.0
 * @date 2023/9/13  19:52
 */
@Data
@ApiModel("分页显示数据")
public class SectionPageVo implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value="工段Id")
    private Long sectId;

    @TableField(value="sect_name")
    @ApiModelProperty(value="工段名称")
    private String sectName;

    @TableField(value="sect_no")
    @ApiModelProperty(value="工段编号")
    private String sectNo;

    @ApiModelProperty(value="所属项目名称")
    private String projName;
    @ApiModelProperty(value = "工期")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime sectDuration;


    @TableField(value="sect_status")
    @ApiModelProperty(value="状态")
    private Integer sectStatus;

    @TableField(value="sect_head")
    @ApiModelProperty(value="负责人")
    private String sectHead;

    @ApiModelProperty(value="联系电话")
    private String sectTel;

    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

}
